#ifndef SEARCH_TERMS_H
#define SEARCH_TERMS_H

#include <QtGui/QWidget>
#include "ui_qsearchterms.h"
#include "search_term.h"
#include "plp_header.h"
#include "type_part.h"
#include "exp_define.h"
class QSearchTerms: public QWidget
{
	Q_OBJECT

public:
	QSearchTerms(QString field = QString(),QString text = QString(),QString mean = QString(),quint8 value=0,QWidget *parent = 0, Qt::WFlags flags = 0);
	~QSearchTerms();

	QStringList terms() const;
	void set(QString field,QString text,QString mean,quint8 value);
public slots:
	void textEdited();
private:
	Ui::QSearchTermsClass ui;
	QString m_field;
	QString m_text;
	QString m_normalizedField;
	QString m_normalizedText;
	QString m_check;
};

#endif 
	